#ifndef __LM_DIALOG_H__
#define __LM_DIALOG_H__

#include "lm_win.h"
#include "lm_keyevent.h"
#include "../common/lm_log.h"


#ifdef __cplusplus
extern "C" {
#endif

const char* lm_edit_dialog_create(uint16_t x, uint16_t y, uint16_t width, uint16_t height, const char *title, const char *text, lm_color_t color);

bool lm_query_dialog_create(uint16_t width, uint16_t height, const char *title, const char *text, lm_color_t color);


bool lm_error_dialog_create(uint16_t width, uint16_t height, const char *text);
bool lm_warning_dialog_create(uint16_t width, uint16_t height, const char *text);
bool lm_information_dialog_create(uint16_t width, uint16_t height, const char *text);

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif //__LM_DIALOG_H__
